package com.nenglai.admin.config;

import com.nenglai.common.crud.EditorUtil;
import com.nenglai.common.crud.SearchUtil;
import com.nenglai.common.crud.UpdateUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author kongdehui
 * @date 2021/04/21 23:07
 **/
@Configuration
public class ResourceConfig {

    @Bean
    public SearchUtil searchUtil() {
        return new SearchUtil();
    }

    @Bean
    public UpdateUtil updateUtil() {
        return new UpdateUtil();
    }

    @Bean
    public EditorUtil editorUtil() {
        return new EditorUtil();
    }
}
